Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor gui settings #314

Merged
merged 15 commits into from
Oct 10, 2024
Merged

Refactor gui settings #314

merged 15 commits into from
Oct 10, 2024

Conversation

Ferelith-maker
Copy link
Contributor

What type of Pull Request is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Describe your changes in brief

Remove the code that uses QSettings for config settings and use an internal dictionary to pass values between widgets.
Refactor the MainFactor to use config functions class

Checklist

  • Tested locally
  • Added new dependencies
  • Updated documentation
  • Added tests

Related Issues

  • Related Issue #
  • Closes #

Copy link
Contributor

@foodprocessor foodprocessor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm in over my head!

gui/common_qt_functions.py Outdated Show resolved Hide resolved
@Ferelith-maker Ferelith-maker marked this pull request as draft September 10, 2024 16:28
@Ferelith-maker Ferelith-maker marked this pull request as ready for review October 1, 2024 16:38
Copy link
Contributor

@foodprocessor foodprocessor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh my god inheritance is so hard to understand in Python! I have a headache!
But I'm pretty sure this is right! 🎉

@Ferelith-maker Ferelith-maker merged commit 6099031 into main Oct 10, 2024
14 of 17 checks passed
@Ferelith-maker Ferelith-maker deleted the refactor-gui-settings branch October 10, 2024 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants